package com.logic;

import java.sql.Timestamp;
import java.util.Date;

import com.database.ServerPaymentsDataBase;

public class ServerPaymentsRequest 
{
	private PaymentVO paymentVO=null;
	private ServerPaymentsDataBase serverPaymentsDataBase=null;
	public ServerPaymentsRequest() 
	{
		paymentVO=new PaymentVO();
		serverPaymentsDataBase=new ServerPaymentsDataBase();
	}
public String PaymentRegistration()
{
	String result=null;
	//preparedStatement=new PreparedStatement("")
	paymentVO.setCity("chennai");
	paymentVO.setBillerName("Airtel");
	paymentVO.setAccountNum("1234");
	paymentVO.setCustomerName("kannan");
	paymentVO.setMobileNum("Mobile");
	paymentVO.setChequeNum("1");
	//result=serverPaymentsDataBase.PaymentRegistration(paymentVO);
	return result;
}
public String PaymentSubmit()
{
	String result=null;
	paymentVO.setBillerName("Airtel");
	paymentVO.setAccountNum("1234");
	paymentVO.setAmount("100");
	//result=serverPaymentsDataBase.paymentSubmit(paymentVO);
	System.out.println(result);
	return result;
}
public String PaymentsCheque()
{
String result=null;
Timestamp timestamp=new Timestamp(new Date().getTime());
paymentVO.setDate(timestamp);
paymentVO.setAccountNum("");
paymentVO.setAccounTo("");
paymentVO.setAmount("");

return result;
}
public static void main(String[] args) 
{
new ServerPaymentsRequest().PaymentSubmit();
}
}
